﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MusicEvolution.Database
{
    public class Artist_Artwork : DataBaseRow
    {
        DataField _Artist;
        DataField _Artwork;

        public Artist_Artwork()
        {
            _Artist = new DataField("Artist", "");
            _Artwork = new DataField("Artwork", "");
            base.Add(_Artwork);
            base.Add(_Artist);
        }

        public long Artist
        {
            get { return Convert.ToInt64(_Artist.Value); }
            set { _Artist.Value = value.ToString(); }
        }

        public long Artwork
        {
            get { return Convert.ToInt64(_Artwork.Value); }
            set { _Artwork.Value = value.ToString(); }
        }
    }
}
